<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			@keyframes bianse{
				0%{
					transform: translateX(0px);
					background:green;
				}
				100%{
					transform: translateX(800px);
					background:yellow
				}
				
			}
			#d1{
				width:30px;
				height:30px;
				background:#ccc;
				margin-top:200px;
				animation: bianse 2s linear 3s  both;
			}
			#d1:hover{
				animation-play-state:paused;
			}
		</style>
	</head>
	<body>
		<div id="d1"></div>
	</body>
</html>
